package FloatNumeric;

public class FloatVsDouble {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		String x = "135.20";
		
		System.out.println(x+"to number by float:"+Float.parseFloat(x));
		System.out.println(x+" to number by double:"+Double.parseDouble(x));
		System.out.println(x+"*100 to number by float:"+Float.parseFloat(x)*100);
		System.out.println(x+"*100 to number by double:"+Double.parseDouble(x)*100);
	}

}
